package com.applet.mapper;

import com.applet.pojo.dto.PublishActivityDTO;
import com.applet.pojo.entity.Activity;
import com.applet.pojo.vo.ActivityItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author “XuShao”
 * @date 2024/12/15 17:43
 * @description
 */
public interface ActivityMapper extends BaseMapper<Activity> {
    List<ActivityItemVO> getAllActivity(); // 获取所有活动

    List<ActivityItemVO> getUserPublishActivity(String id);

    List<ActivityItemVO> registeredActivities(String currentUserId);

    List<ActivityItemVO> collectedActivities(String currentUserId);
}
